package com.mall.app.utils.enumeration;

public enum OrderStatus {
	//"待付款", "待发货", "已发货", "已完成", "已取消"
	CREATED("待付款",0),
	PAIED("待发货",1),
	DELIVERED("已发货",2),
	FINISHED("已完成",3),
	CANCEL("已取消",4);
	
	
	private String desc;
	private int index;
	
	private OrderStatus(String desc,int index) {
		this.desc = desc;
		this.index = index;
	}
	
	public String getDesc(){
		return desc;
	}
	
	public int getIndex(){
		return index;
	}
	
	
}
